package com.mapper.manage;

import java.util.List;

import com.po.Permission;
import com.po.Role;


public interface RoleDao {

	public List<Role> getRoleList(Role role);
	
	public List<Role> getUserRolesList();
	
	public Integer getRoleCount(Role role);
	
	public int addRole(Role role);
	
	public int updateRole(Role role);
	
	public int delRole(Role role);
	
	public int delRoleList(String[] roleids);
	
	
	
	public List<Role> getRolePermission(Role role);
	
	public int  delRolePermission(Role role);
	
	public int addRolePermission(List<Role> list);
	
	public List<Permission> getPermissionList();
	
	public List<Role> getRolePermissionArray(Role role);
	
	
	
	public List<Role> getRoleListN();
	public String getRoleID(String role_name);
	
}
